package com.xuzhijie.pms.service;

import com.xuzhijie.pms.common.Result;
import com.xuzhijie.pms.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

import java.util.Date;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 许志杰
 * @since 2024-02-12
 */
public interface IRoleService extends IService<Role> {

    Result findPage(Integer page, Integer size, String name, String authorityString, String status, Date startTime, Date endTime);

    Result deleteAdmin(String[] ids);

    Result editRole(Role role);

    Result createRole(String roleName, String authorityString, String status, String funcMenu);
}
